- 
		Home
	
- 
LiteSpeed Cache
- 
4.5.0.1
- 
Code
- 
Classes
-  Media 
		
			
				
					
													
								
																			
											| Total Complexity | 158 | 
																			
											| Dependencies | 10 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 912 | 
																			
											| Lines of code | 521 | 
																			
											| Logical lines of code | 328 | 
																	
							 
													
								
																			
											| Comment lines | 243 | 
																			
											| Methods | 24 | 
																			
											| Properties | 2 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 24
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| _parse_img() | D | 33 | 33 | 78 | 
					
				| _finalize() | B | 40 | 20 | 53 | 
					
				| media_row_con() | B | 34 | 15 | 98 | 
					
				| _replace_buffer_img_webp() | B | 42 | 16 | 48 | 
					
				| _parse_iframe() | A | 45 | 13 | 38 | 
					
				| webp_support() | S | 57 | 7 | 17 | 
					
				| init() | S | 59 | 6 | 14 | 
					
				| info() | S | 58 | 5 | 15 | 
					
				| replace_webp() | S | 54 | 4 | 22 | 
					
				| get_image_sizes() | S | 56 | 4 | 18 | 
					
				| finalize() | S | 58 | 4 | 18 | 
					
				| replace_background_webp() | S | 57 | 4 | 16 | 
					
				| webp_srcset() | S | 63 | 4 | 11 | 
					
				| _detect_dimensions() | S | 64 | 4 | 10 | 
					
				| webp_attach_img_src() | S | 68 | 3 | 7 | 
					
				| webp_url() | S | 71 | 3 | 6 | 
					
				| adjust_jpg_quality() | S | 70 | 2 | 7 | 
					
				| delete_attachment() | S | 68 | 2 | 7 | 
					
				| del() | S | 66 | 2 | 8 | 
					
				| rename() | S | 64 | 2 | 9 | 
					
				| media_row_actions() | S | 71 | 2 | 6 | 
					
				| __construct() | S | 76 | 1 | 4 | 
					
				| after_admin_init() | S | 67 | 1 | 7 | 
					
				| media_row_title() | S | 75 | 1 | 4 |